package com.ruoyi.pcj.dto.match;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mashuai.utils.toolkit.core.msHandlebean.annotation.MsJoinTable;
import com.ruoyi.pcj.constant.TbConstant;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @ClassName: MacthAttrDto
 * @Author : mashuai
 * @Description: TODO
 */
@Data
public class MatchUserAttrDto implements Serializable {
    //用户id
    @MsJoinTable(joinTable = TbConstant.pcjUserAttr, joinField = "sys_user_id", needFields = {"login_time@loginTime"})
    private Long userId;

    //可以是目标id，兴趣id、能力id....
    private String bizId;

    //可以是目标名称，兴趣名称、yte名称
    private String msg;

    //用户最近一次登录时间

    private LocalDateTime loginTime;

    public MatchUserAttrDto(Long userId, String bizId) {
        this.userId = userId;
        this.bizId = bizId;
    }

}
